package com.dycx.user.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.dycx.user.dto.SellerDTO;
import com.dycx.user.entity.SellerDO;
import com.dycx.user.vo.SellerVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;


@Mapper
public interface SellerMapper extends BaseMapper<SellerDO> {

    Page<SellerVO> getPage(Page<SellerVO> page, @Param("param") SellerDTO param);

    SellerVO getInfoById(@Param("id") Integer id);

}
